package com.mj.mes.system.SysResource;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by mj on 2017/3/30.
 */
public interface SysResourceDao extends JpaRepository<SysResource,Long> {
    SysResource findByResourceName(String resourceName);
    List<SysResource> findBySysResource(SysResource sysResource);
}
